package org.itstack.demo.design;

import org.itstack.demo.design.ceiling.LevelOneCeiling;
import org.itstack.demo.design.ceiling.LevelTwoCeiling;
import org.itstack.demo.design.coat.DuluxCoat;
import org.itstack.demo.design.coat.LiBangCoat;
import org.itstack.demo.design.floor.ShengXiangFloor;
import org.itstack.demo.design.tile.DongPengTile;
import org.itstack.demo.design.tile.MarcoPoloTile;

public class Builder {
    public IMenu levelOne(Double area) {
        return new DecorationPackageMenu(area, "豪华欧式")
                .appendingCeiling(new LevelTwoCeiling())
                .appendingCoat(new DuluxCoat())
                .appendingFloor(new ShengXiangFloor());

    }

    public IMenu levelTwo(Double area) {
        return new DecorationPackageMenu(area, "轻奢田园")
                .appendingCeiling(new LevelTwoCeiling())
                .appendingCoat(new LiBangCoat())
                .appendingFloor(new MarcoPoloTile());

    }

    public IMenu levelThree(Double area) {
        return new DecorationPackageMenu(area, "现代简约")
                .appendingCeiling(new LevelOneCeiling())
                .appendingCoat(new LiBangCoat())
                .appendingFloor(new DongPengTile());

    }
}
